package com;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.AutoConfigurationPackage;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

/**
 * Created by pengfei on 16/7/6.
 */
@SpringBootApplication
@ComponentScan(basePackages = "com.service")
@EnableAutoConfiguration(exclude={DataSourceAutoConfiguration.class})
public class ConfigClient {
    public static void main(String[] args) {
        System.setProperty("px","xxx");
        System.setProperty("HOME","THIS IS HOME");
//        System.setProperty("spring.cloud.config.uri","http://localhost:8989");

        SpringApplication.run(ConfigClient.class, args);
    }
}
